<template>
	<view class="main">
		<view class="cu-bar bg-white solid-bottom">
			<view class="action">
				<text class="cuIcon-titles text-green"></text>
				<text class="text-xl text-bold">置业顾问入驻</text>
			</view>
		</view>
		<view class="cu-list menu">
			<navigator url="./itemList?type=gw&status=0&statusStr=审核中" class="cu-item arrow">
				<view class="content">
					<text class="cuIcon-writefill text-gray"></text>
					<text>审核中</text>
				</view>
			</navigator>
			<navigator  url="./itemList?type=gw&status=2&statusStr=已入驻"  class="cu-item arrow">
				<view class="content">
					<text class="cuIcon-roundcheckfill text-green"></text>
					<text>已入驻</text>
				</view>
			</navigator>
			<navigator  url="./itemList?type=gw&status=1&statusStr=未通过"  class="cu-item arrow">
				<view class="content">
					<text class="cuIcon-warnfill text-red"></text>
					<text>未通过</text>
				</view>
			</navigator>
		</view>
		<view class="cu-bar bg-white solid-bottom">
				<view class="action">
					<text class="cuIcon-titles text-blue"></text>
					<text class="text-xl text-bold">渠道驻场入驻</text>
				</view>
			</view>
			<view class="cu-list menu">
				<navigator   url="./itemList?type=sale&status=0&statusStr=审核中"  class="cu-item arrow">
					<view class="content">
						<text class="cuIcon-writefill text-grey"></text>
						<text>审核中</text>
					</view>
				</navigator>
				<navigator url="./itemList?type=sale&status=2&statusStr=已入驻"  class="cu-item arrow">
					<view class="content">
						<text class="cuIcon-roundcheckfill text-green"></text>
						<text>已入驻</text>
					</view>
				</navigator>
				<navigator url="./itemList?type=sale&status=1&statusStr=未通过"  class="cu-item arrow">
					<view class="content">
						<text class="cuIcon-warnfill text-red"></text>
						<text>未通过</text>
					</view>
				</navigator>
			</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				user:{},
				applyInfo: {
					type: 'gw',
					tel:'',
					name:'',
					wechat:'',
					platform:'',
					avatarImg: '',
					avatar: '',
					codeImg: '',
					code: '',
					gpImg: '',
					gp: '',
					houseId: '',
					houseName: '',
					memberId:0,
				}
			};
		},
		onLoad(e){
			uni.getStorage({
				key: 'UserInfo',
				success: (res)=>{
					if(!res.data){
						uni.showModal({
							content: '请先登陆!',
							showCancel: false
						});
						uni.navigateBack({
						}) ;
					}
					this.applyInfo.memberId=res.data.id;
					//this.user = res.data;
				},
				fail:(e)=>{
					uni.showModal({
						content: '请先登陆!',
						showCancel: false,
						success:function(){
							uni.navigateBack({
							}) ;
						}
					});
				}
			});
		},
		onShow(){
		},
		methods: {
			
		}
	}
</script>


<style>
</style>
